package com.class04.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2023/12/27 9:10
 */
@Controller
@ResponseBody
public class HelloController {
    @GetMapping("hello")
    public String get(){
        return "hello";

    }
}
